package com.push.spider.param;

public class Parameters {
    private int offset;
    private int size;
    private String[] sorts;
    private String[] ids;
    private String searchType;

    public Parameters() {
    }

    public Parameters(String id, int offset, int size) {
        this.offset = offset;
        this.size = size;
        this.sorts = new String[]{"!year"};
        this.ids = new String[]{id};
        this.searchType = "all";
    }

    public int getOffset() {
        return offset;
    }

    public void setOffset(int offset) {
        this.offset = offset;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public String[] getSorts() {
        return sorts;
    }

    public void setSorts(String[] sorts) {
        this.sorts = sorts;
    }

    public String[] getIds() {
        return ids;
    }

    public void setIds(String[] ids) {
        this.ids = ids;
    }

    public String getSearchType() {
        return searchType;
    }

    public void setSearchType(String searchType) {
        this.searchType = searchType;
    }
}
